package cn.com.entity;

/**
 * <p>Project:APIapps - StuScore
 *
 * @author 黄俊玮 On Administrator
 * @version 1.0
 * @DataTime 2024/6/12 09:44:35
 * @since 1.8
 */
public class TeacherScore {
    private int id;//学生id
    private String clazz;//班级id
    private int phone;//学生手机号
    private String name;//学生姓名
    private int coid;//课程id
    private String coname;//课程名称
    private double scores;//成绩分数
    private String cname;//班级名称

    public TeacherScore() {
    }

    public TeacherScore(int id, String clazz, int user, String name, int coid, String coname, double scores, String cname) {
        this.id = id;
        this.clazz = clazz;
        this.phone = user;
        this.name = name;
        this.coid = coid;
        this.coname = coname;
        this.scores = scores;
        this.cname = cname;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCoid() {
        return coid;
    }

    public void setCoid(int coid) {
        this.coid = coid;
    }

    public String getConame() {
        return coname;
    }

    public void setConame(String coname) {
        this.coname = coname;
    }

    public double getScores() {
        return scores;
    }

    public void setScores(double scores) {
        this.scores = scores;
    }

    @Override
    public String toString() {
        return "StuScore{" +
                "id=" + id +
                ", clazz='" + clazz + '\'' +
                ", user=" + phone +
                ", name='" + name + '\'' +
                ", coid=" + coid +
                ", coname='" + coname + '\'' +
                ", scores=" + scores +
                ", cname='" + cname + '\'' +
                '}';
    }
}
